package com.lw.system.dao;

import org.apache.ibatis.annotations.Mapper;

import com.lw.system.model.UserRole;

@Mapper
public interface UserRoleMapper {
	int deleteByPrimaryKey(String id);

	int insert(UserRole record);

	int insertSelective(UserRole record);

	UserRole selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(UserRole record);

	int updateByPrimaryKey(UserRole record);

	int deleteUserRoleByRoleId(String roleId);

	int deleteUserRoleByUserId(String userId);
}